<template>
  <div class="dashboard-container">
    <Index v-if="user.dashboard=='index'" />
    <Index1 v-else-if="user.dashboard=='index1'" />
    <Index v-else />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import Index1 from '@/views/index1'
import Index from '@/views/index'

export default {
  name: 'Dashboard',
  components: { Index, Index1 },
  computed: {
    ...mapGetters([
      'user'
    ])
  },
  methods: {
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>

</style>
